package com.example.ra.domain.po;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户记录表
 * @TableName cust_records
 */
@TableName(value ="cust_records")
@Data
public class CustRecords implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "主键id")
    private Integer id;

    /**
     * 客户id
     */
    @Schema(description = "客户id")
    private String custId;

    /**
     * 发送时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "发送时间")
    private LocalDateTime sendTime;

    /**
     * 发送标识
     */
    @Schema(description = "发送标识")
    private Integer sendFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}